curl https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh | sed 's/$MY_Del_Old/y/' | bash
source /etc/profile

echo 'export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.ustc.edu.cn/homebrew-bottles"' >> ~/.zshrc
echo 'export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.ustc.edu.cn/homebrew-core.git"' >> ~/.zshrc
# brew tap --custom-remote --force-auto-update homebrew/cask https://mirrors.ustc.edu.cn/homebrew-cask.git  # gui

echo "eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) #ckbrew" >> ~/.zshrc

/bin/bash -c "source /etc/profile"
cd "$(brew --repo)/Library/Taps/homebrew"
brew tap --custom-remote --force-auto-update homebrew/cask-fonts https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-fonts.git
# git clone https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-drivers.git
source ~/.zshrc
